<ui:composition
		xmlns="http://www.w3.org/1999/xhtml"
		xmlns:h="http://java.sun.com/jsf/html"
		xmlns:f="http://java.sun.com/jsf/core"
		xmlns:a4j="http://richfaces.org/a4j"
		xmlns:rich="http://richfaces.org/rich"
		xmlns:ui="http://java.sun.com/jsf/facelets"
		xmlns:itdep="http://itdep.bsuir.by/jsf"
		>
	<br/>
	<a4j:commandLink value="#{commonBundle.addDirective}" id="#{idPrefix}addDirLink"
					 action="toDirectiveAdd" ajaxSingle="true">
	</a4j:commandLink>
	<br/>
	<h:outputText value="#{dictionaryBundle.directive}" styleClass="requiredField"/>
	<rich:spacer width="88"/>
	<itdep:entitySelectMenu value="#{event.directive}"
							entityType="directive"
							format="{directiveNumber}"
							id="#{idPrefix}DirectiveName"
							styleClass="sizeCopmonent" anyValue="false"/>
	<itdep:errorMessage for="#{idPrefix}DirectiveName"/>
	<br/>
	<h:panelGrid columns="3" width="372">
		<h:panelGroup>
			<h:outputText value="#{dictionaryBundle.eventReason}" styleClass="requiredField"/>
			<rich:spacer width="50"/>
		</h:panelGroup>
		<itdep:entitySelectMenu value="#{event.eventReason}"
								entityType="event-reason"
								format="{i18n.description}"
								id="#{idPrefix}EventReason"
								required="true" styleClass="sizeCopmonent"/>
		<itdep:errorMessage for="#{idPrefix}EventReason"/>
	</h:panelGrid>
</ui:composition>